package com.study.dao;

import com.study.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserDao {
    int deleteByPrimaryKey(int id);

    int insertSelective(User record);

    User selectByPrimaryKey(int id);

    User selectByOpenId(String openId);

    int updateByPrimaryKeySelective(User record);


    List<User> selectForList(Map<String, Object> conditions);

}
